package com.greenDao.activity.tool.button;

import android.app.Activity;
import android.view.View;

public class BackButton implements View.OnClickListener {

	private final Activity activity;
	
	public BackButton(Activity activity) {
		this.activity = activity;
	}
	
	@Override
	public void onClick(View v) {
		activity.finish();
	}
}
